package g.m.springcloud.controller;

import g.m.springcloud.service.UserService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
public class UserController {

    @Resource
    private UserService userService;

    @GetMapping(value = "/delete/{id}")
    public void delete(@PathVariable("id") Integer id){

        userService.delete(id);
    }

}
